unit WebAPI_APP;

interface

uses
  WebApi_HTTPServer, WebApi_RouteTable, WebApi_Config;

type
  TWebAPP = class
  public
    class procedure Start();
    class procedure Free();
  end;

implementation

{ TWebAPI }


class procedure TWebAPP.Free;
begin

  HttpServer.Free;
  RouteTable.Free;
end;

class procedure TWebAPP.Start();
begin
  RouteTable := TRouteTable.Create;
  HttpServer := THttpServer.Create;
end;

end.

